<!-- Breadcrums -->
<div class="container">
	<ul id="breadcrumbs">
	<?php foreach ($breadcrumbs as $key => $breadcrumb) { ?>
	<?php if($key == 0) {  ?>
		<li><a href="<?php echo $breadcrumb['href']; ?>"><i class="icon-home"></i></a></li>
		<?php } else { ?>
		<li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
		<?php } ?>
		<?php } ?>
	</ul>
</div>
<!-- Breadcrum -->
<div class="container">
	<div id="main" class="properties-result">
		<div class="row">
			<div class="span9">
				<?php $this->load->view('helpers/widgets/property-filter-sort.php'); ?>
				<?php $this->load->view('helpers/properties-rows.php'); ?> 
				<?php $this->load->view('helpers/pagination.php'); ?>
			</div>
			<div class="sidebar span3">
				<?php $this->load->view('helpers/widgets/property-filter.php'); ?>
				<?php if($total_count >= 4) { ?>
				<?php $this->load->view('helpers/widgets/ad.php'); ?>
				<?php } ?>
			</div>
		</div>
	</div>
</div>
